//
//  ScoreNumberWidget.h
//  FruitCrush
//
//  Created by gaoyu on 15/7/4.
//
//

#ifndef __FruitCrush__ScoreNumberWidget__
#define __FruitCrush__ScoreNumberWidget__

#include "cocos2d.h"

USING_NS_CC;

class ScoreNumberWidget : public cocos2d::Layer
{
public:
    CREATE_FUNC(ScoreNumberWidget);
    virtual bool init() override;
    void setNum(int num);
    ScoreNumberWidget();
    void setStrongNum(int num);
    void setHealthNum(int num);
    virtual void update(float dt) override;
    
    
private:
    void numLabelInit();
    LabelTTF *numLabel;
    float lastTime;
    
    
    
    
};

#endif /* defined(__FruitCrush__ScoreNumberWidget__) */
